3.9.64 \(\int \sqrt {d+e x} \sqrt {c d^2-c e^2 x^2} \, dx\) [864]

Optimal. Leaf size=78 \[ -\frac {8 d \left (c d^2-c e^2 x^2\right )^{3/2}}{15 c e (d+e x)^{3/2}}-\frac {2 \left (c d^2-c e^2 x^2\right )^{3/2}}{5 c e \sqrt {d+e x}} \]

[Out]

-8/15*d*(-c*e^2*x^2+c*d^2)^(3/2)/c/e/(e*x+d)^(3/2)-2/5*(-c*e^2*x^2+c*d^2)^(3/2)/c/e/(e*x+d)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.03, antiderivative size = 78, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.069, Rules used = {671, 663} \begin {gather*} -\frac {2 \left (c d^2-c e^2 x^2\right )^{3/2}}{5 c e \sqrt {d+e x}}-\frac {8 d \left (c d^2-c e^2 x^2\right )^{3/2}}{15 c e (d+e x)^{3/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sqrt[d + e*x]*Sqrt[c*d^2 - c*e^2*x^2],x]

[Out]

(-8*d*(c*d^2 - c*e^2*x^2)^(3/2))/(15*c*e*(d + e*x)^(3/2)) - (2*(c*d^2 - c*e^2*x^2)^(3/2))/(5*c*e*Sqrt[d + e*x]
)

Rule 663

Int[((d_) + (e_.)*(x_))^(m_)*((a_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[e*(d + e*x)^(m - 1)*((a + c*x^2)^(p
 + 1)/(c*(p + 1))), x] /; FreeQ[{a, c, d, e, m, p}, x] && EqQ[c*d^2 + a*e^2, 0] &&  !IntegerQ[p] && EqQ[m + p,
 0]

Rule 671

Int[((d_) + (e_.)*(x_))^(m_)*((a_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> Simp[e*(d + e*x)^(m - 1)*((a + c*x^2)^(p
 + 1)/(c*(m + 2*p + 1))), x] + Dist[2*c*d*(Simplify[m + p]/(c*(m + 2*p + 1))), Int[(d + e*x)^(m - 1)*(a + c*x^
2)^p, x], x] /; FreeQ[{a, c, d, e, m, p}, x] && EqQ[c*d^2 + a*e^2, 0] &&  !IntegerQ[p] && IGtQ[Simplify[m + p]
, 0]

Rubi steps

\begin {align*} \int \sqrt {d+e x} \sqrt {c d^2-c e^2 x^2} \, dx &=-\frac {2 \left (c d^2-c e^2 x^2\right )^{3/2}}{5 c e \sqrt {d+e x}}+\frac {1}{5} (4 d) \int \frac {\sqrt {c d^2-c e^2 x^2}}{\sqrt {d+e x}} \, dx\\ &=-\frac {8 d \left (c d^2-c e^2 x^2\right )^{3/2}}{15 c e (d+e x)^{3/2}}-\frac {2 \left (c d^2-c e^2 x^2\right )^{3/2}}{5 c e \sqrt {d+e x}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.06, size = 53, normalized size = 0.68 \begin {gather*} -\frac {2 \left (7 d^2-4 d e x-3 e^2 x^2\right ) \sqrt {c \left (d^2-e^2 x^2\right )}}{15 e \sqrt {d+e x}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[d + e*x]*Sqrt[c*d^2 - c*e^2*x^2],x]

[Out]

(-2*(7*d^2 - 4*d*e*x - 3*e^2*x^2)*Sqrt[c*(d^2 - e^2*x^2)])/(15*e*Sqrt[d + e*x])

________________________________________________________________________________________

Maple [A]
time = 0.47, size = 43, normalized size = 0.55

method result size
default \(-\frac {2 \sqrt {c \left (-e^{2} x^{2}+d^{2}\right )}\, \left (-e x +d \right ) \left (3 e x +7 d \right )}{15 \sqrt {e x +d}\, e}\) \(43\)
gosper \(-\frac {2 \left (-e x +d \right ) \left (3 e x +7 d \right ) \sqrt {-x^{2} c \,e^{2}+c \,d^{2}}}{15 e \sqrt {e x +d}}\) \(44\)
risch \(-\frac {2 \sqrt {-\frac {c \left (e^{2} x^{2}-d^{2}\right )}{e x +d}}\, \sqrt {e x +d}\, c \left (-3 e^{2} x^{2}-4 d x e +7 d^{2}\right ) \left (-e x +d \right )}{15 \sqrt {-c \left (e^{2} x^{2}-d^{2}\right )}\, e \sqrt {-c \left (e x -d \right )}}\) \(94\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e*x+d)^(1/2)*(-c*e^2*x^2+c*d^2)^(1/2),x,method=_RETURNVERBOSE)

[Out]

-2/15/(e*x+d)^(1/2)*(c*(-e^2*x^2+d^2))^(1/2)*(-e*x+d)*(3*e*x+7*d)/e

________________________________________________________________________________________

Maxima [A]
time = 0.28, size = 56, normalized size = 0.72 \begin {gather*} \frac {2 \, {\left (3 \, \sqrt {c} x^{2} e^{2} + 4 \, \sqrt {c} d x e - 7 \, \sqrt {c} d^{2}\right )} {\left (x e + d\right )} \sqrt {-x e + d}}{15 \, {\left (x e^{2} + d e\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)^(1/2)*(-c*e^2*x^2+c*d^2)^(1/2),x, algorithm="maxima")

[Out]

2/15*(3*sqrt(c)*x^2*e^2 + 4*sqrt(c)*d*x*e - 7*sqrt(c)*d^2)*(x*e + d)*sqrt(-x*e + d)/(x*e^2 + d*e)

________________________________________________________________________________________

Fricas [A]
time = 2.58, size = 56, normalized size = 0.72 \begin {gather*} \frac {2 \, \sqrt {-c x^{2} e^{2} + c d^{2}} {\left (3 \, x^{2} e^{2} + 4 \, d x e - 7 \, d^{2}\right )} \sqrt {x e + d}}{15 \, {\left (x e^{2} + d e\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)^(1/2)*(-c*e^2*x^2+c*d^2)^(1/2),x, algorithm="fricas")

[Out]

2/15*sqrt(-c*x^2*e^2 + c*d^2)*(3*x^2*e^2 + 4*d*x*e - 7*d^2)*sqrt(x*e + d)/(x*e^2 + d*e)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {- c \left (- d + e x\right ) \left (d + e x\right )} \sqrt {d + e x}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)**(1/2)*(-c*e**2*x**2+c*d**2)**(1/2),x)

[Out]

Integral(sqrt(-c*(-d + e*x)*(d + e*x))*sqrt(d + e*x), x)

________________________________________________________________________________________

Giac [A]
time = 1.25, size = 112, normalized size = 1.44 \begin {gather*} -\frac {2}{15} \, {\left (2 \, \sqrt {2} \sqrt {c d} d^{2} - 5 \, {\left (2 \, \sqrt {2} \sqrt {c d} d - \frac {{\left (-{\left (x e + d\right )} c + 2 \, c d\right )}^{\frac {3}{2}}}{c}\right )} d + \frac {5 \, {\left (-{\left (x e + d\right )} c + 2 \, c d\right )}^{\frac {3}{2}} c d - 3 \, {\left ({\left (x e + d\right )} c - 2 \, c d\right )}^{2} \sqrt {-{\left (x e + d\right )} c + 2 \, c d}}{c^{2}}\right )} e^{\left (-1\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x+d)^(1/2)*(-c*e^2*x^2+c*d^2)^(1/2),x, algorithm="giac")

[Out]

-2/15*(2*sqrt(2)*sqrt(c*d)*d^2 - 5*(2*sqrt(2)*sqrt(c*d)*d - (-(x*e + d)*c + 2*c*d)^(3/2)/c)*d + (5*(-(x*e + d)
*c + 2*c*d)^(3/2)*c*d - 3*((x*e + d)*c - 2*c*d)^2*sqrt(-(x*e + d)*c + 2*c*d))/c^2)*e^(-1)

________________________________________________________________________________________

Mupad [B]
time = 0.52, size = 69, normalized size = 0.88 \begin {gather*} \frac {\sqrt {c\,d^2-c\,e^2\,x^2}\,\left (\frac {2\,x^2\,\sqrt {d+e\,x}}{5}-\frac {14\,d^2\,\sqrt {d+e\,x}}{15\,e^2}+\frac {8\,d\,x\,\sqrt {d+e\,x}}{15\,e}\right )}{x+\frac {d}{e}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c*d^2 - c*e^2*x^2)^(1/2)*(d + e*x)^(1/2),x)

[Out]

((c*d^2 - c*e^2*x^2)^(1/2)*((2*x^2*(d + e*x)^(1/2))/5 - (14*d^2*(d + e*x)^(1/2))/(15*e^2) + (8*d*x*(d + e*x)^(
1/2))/(15*e)))/(x + d/e)

________________________________________________________________________________________